package com.dankegongyu.lib.http.request;

import io.reactivex.Observable;
import okhttp3.OkHttpClient;

/**
 * @author wupuquan
 * @version 1.0
 * @since 2018/6/13 14:21
 */
public class GetRequest extends BaseRequest<GetRequest> {

    public GetRequest(String url, OkHttpClient okHttpClient) {
        super(url, okHttpClient);
    }

    @Override
    protected Observable<String> newRequest() {
        return apiService.get(url, params);
    }
}
